package com.juneyao.bigdata.service;

import com.juneyao.bigdata.domain.Activity;
import com.juneyao.bigdata.domain.PeopleGroupId;
import com.juneyao.bigdata.domain.ResultFlag;

import java.util.List;

/**
 * @author quanbiao
 * @date 2018-06-29
 * 活动发送接口
 */
public interface ActionService {

    /**
     * 活动发送
     * @param act
     * @return
     */
    ResultFlag activitySend(Activity act);

    /**
     * 产品使用量
     * @param peopleGroupId
     * @return
     */
    List<Activity> getActivityUsed(PeopleGroupId peopleGroupId);
}
